<template>
    <el-button type="info" :size="size"><el-icon size="16" ><Close /></el-icon> {{ text }}</el-button>
  </template>
  
  <script lang="ts" setup>
  import { Close } from '@element-plus/icons-vue'
  defineProps({
    size: {
      type: String,
      default: 'small',
    },
    text: {
      type: String,
      default: '关闭',
    },
  })
  </script>
  
  <style scoped></style>
  